<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use Tymon\JWTAuth\Facades\JWTAuth;

class ExampleController extends Controller
{
    public function token(){
        $user =  JWTAuth::parseToken()->getPayload();
        dd($user);


        $payload =  auth('api')->payload();
        return $payload;
    }
}
